package Xuanke;

public class ClassResult {
    public static void main(String[] args) {
        Student student;
        Teacher teacher;
        Course course;
        Student stu1 = new Student(2021310839, "小张","JAVA");
        Teacher tea1= new Teacher(11,"小明","男");
        Course cou1 = new Course(303,"JAVA");
        System.out.println("学生信息:" + " " + stu1.getStudentId() + "   " + stu1.getStudentName() + "   "+stu1.getMajor());
        System.out.println("老师信息:" + " " + tea1.getId() + "   " + tea1.getTeacherName() + "   " + tea1.getTeacherSex());
        System.out.println("课程信息:" + " " + "教室"  + cou1.getId() +"   10:00-12:00" +"    " + cou1.getName());
    }

}
